package com.tang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tang.dto.BookSnapshotDTO;
import com.tang.vo.BookSnapshot;
import com.tang.service.BookSnapshotService;
import com.tang.mapper.BookSnapshotMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author tang
* @description 针对表【ebook_snapshot(电子书快照表)】的数据库操作Service实现
* @createDate 2023-05-05 14:00:38
*/
@Service
public class BookSnapshotServiceImpl implements BookSnapshotService{
    @Autowired
    private BookSnapshotMapper bookSnapshotMapper;
    @Override
    public List<BookSnapshotDTO> getStatistic() {
        return bookSnapshotMapper.getStatistic();
    }

    @Override
    public List<BookSnapshotDTO> get30Statistic() {
        return bookSnapshotMapper.get30Statistic();
    }

}




